import { MouseEvent, useCallback, useMemo, useRef, useState } from "react";

import isType from "../../lib/isType";
import css from "./style.module.scss";

const WhatInTheBox = () => {
  const tooltipRef = useRef<HTMLDivElement | null>(null);
  const [tooltipContentId, setTooltipContentId] = useState<
    keyof typeof tooltips | null
  >(null);
  const tooltips = useMemo(
    () =>
      ({
        fides:
          "This is the webserver for Fides, including PostgreSQL and Redis databases",
        cookieHouse:
          'This is the NextJS server for the "Cookie House" sample project, including PostgreSQL and MongoDB databases',
        fidesAdminUi:
          "This is the Fides Admin UI, used for administering privacy requests (and more!)",
        privacyCenter:
          'This is a Fides Privacy Center, customized to match the "Cookie House" sample project',
        cookieHouseUi:
          'This is the "Cookie House" sample project, which is a basic eCommerce site built in NextJS',
      }) as const,
    [],
  );

  const onRectMouseEnter = useCallback(
    (evt: MouseEvent<SVGRectElement> & { target: SVGRectElement }) => {
      if (!tooltipRef.current) {
        return;
      }

      const x = +(evt.target.getAttribute("x") ?? 0);
      const y = +(evt.target.getAttribute("y") ?? 0);

      tooltipRef.current.style.left = `${x - 53}px`;
      tooltipRef.current.style.top = `${y - 37}px`;

      const tooltipId = evt.target.dataset.tooltipId as keyof typeof tooltips;
      setTooltipContentId(tooltipId);
    },
    [],
  );
  const onRectMouseLeave = useCallback(() => {
    setTooltipContentId(null);
  }, []);

  return (
    <div className={css.whatInTheBox}>
      <div className={css.tooltip} ref={tooltipRef} hidden={!tooltipContentId}>
        <div className={css.tooltipContent}>
          {tooltipContentId ? tooltips[tooltipContentId] : null}
        </div>
        <svg
          className={css.arrow}
          width="17"
          height="8"
          viewBox="0 0 17 8"
          fill="none"
          xmlns="http://www.w3.org/2000/svg"
        >
          <path d="M16.5571 0H0.557129L8.55713 8L16.5571 0Z" fill="#2D3748" />
        </svg>
      </div>
      <h2>Sample Project Diagram</h2>
      <p className={css.subhead}>Understanding the individual components</p>

      <svg
        className={css.schema}
        width="1022"
        height="863"
        viewBox="0 0 1022 863"
        fill="none"
        xmlns="http://www.w3.org/2000/svg"
      >
        <g clipPath="url(#clip0_1_2486)">
          <rect
            x="102.942"
            y="577"
            width="216"
            height="118"
            rx="4"
            fill={tooltipContentId === "fides" ? "#101230" : "#0A0B1E"}
          />
          <path
            d="M193.111 599.875V589.443H199.687V591.427H195.463V593.843H199.079V595.827H195.463V599.875H193.111ZM201.501 599.875V591.939H203.853V599.875H201.501ZM202.669 590.771C202.275 590.771 201.949 590.659 201.693 590.435C201.437 590.2 201.309 589.902 201.309 589.539C201.309 589.176 201.437 588.883 201.693 588.659C201.949 588.435 202.275 588.323 202.669 588.323C203.075 588.323 203.4 588.435 203.645 588.659C203.901 588.883 204.029 589.176 204.029 589.539C204.029 589.902 203.901 590.2 203.645 590.435C203.4 590.659 203.075 590.771 202.669 590.771ZM208.947 600.067C208.457 600.067 208.009 599.971 207.603 599.779C207.209 599.587 206.867 599.315 206.579 598.963C206.302 598.6 206.083 598.163 205.923 597.651C205.774 597.139 205.699 596.558 205.699 595.907C205.699 595.256 205.79 594.675 205.971 594.163C206.163 593.651 206.409 593.219 206.707 592.867C207.017 592.504 207.369 592.227 207.763 592.035C208.169 591.843 208.579 591.747 208.995 591.747C209.443 591.747 209.811 591.822 210.099 591.971C210.387 592.12 210.67 592.323 210.947 592.579L210.851 591.363V588.659H213.203V599.875H211.283L211.123 599.091H211.059C210.782 599.368 210.457 599.603 210.083 599.795C209.71 599.976 209.331 600.067 208.947 600.067ZM209.555 598.147C209.811 598.147 210.041 598.094 210.243 597.987C210.457 597.88 210.659 597.694 210.851 597.427V594.179C210.638 593.987 210.419 593.854 210.195 593.779C209.971 593.704 209.753 593.667 209.539 593.667C209.166 593.667 208.835 593.848 208.547 594.211C208.259 594.563 208.115 595.118 208.115 595.875C208.115 596.664 208.238 597.24 208.483 597.603C208.739 597.966 209.097 598.147 209.555 598.147ZM219.031 600.067C218.466 600.067 217.938 599.976 217.447 599.795C216.956 599.603 216.53 599.331 216.167 598.979C215.804 598.616 215.522 598.179 215.319 597.667C215.116 597.155 215.015 596.568 215.015 595.907C215.015 595.267 215.122 594.691 215.335 594.179C215.548 593.656 215.826 593.219 216.167 592.867C216.519 592.504 216.919 592.227 217.367 592.035C217.815 591.843 218.279 591.747 218.759 591.747C219.324 591.747 219.815 591.843 220.231 592.035C220.658 592.227 221.01 592.494 221.287 592.835C221.575 593.176 221.788 593.582 221.927 594.051C222.066 594.51 222.135 595.011 222.135 595.555C222.135 595.768 222.124 595.971 222.103 596.163C222.082 596.355 222.06 596.499 222.039 596.595H217.287C217.394 597.171 217.628 597.598 217.991 597.875C218.364 598.142 218.818 598.275 219.351 598.275C219.916 598.275 220.487 598.099 221.063 597.747L221.847 599.171C221.442 599.448 220.988 599.667 220.487 599.827C219.996 599.987 219.511 600.067 219.031 600.067ZM217.271 595.043H220.135C220.135 594.595 220.034 594.232 219.831 593.955C219.628 593.678 219.287 593.539 218.807 593.539C218.434 593.539 218.103 593.662 217.815 593.907C217.538 594.152 217.356 594.531 217.271 595.043ZM226.288 600.067C225.766 600.067 225.227 599.966 224.672 599.763C224.128 599.56 223.654 599.294 223.248 598.963L224.304 597.491C224.667 597.768 225.014 597.976 225.344 598.115C225.675 598.254 226.011 598.323 226.352 598.323C226.704 598.323 226.96 598.264 227.12 598.147C227.28 598.03 227.36 597.864 227.36 597.651C227.36 597.523 227.312 597.411 227.216 597.315C227.131 597.208 227.008 597.112 226.848 597.027C226.699 596.942 226.528 596.867 226.336 596.803C226.144 596.728 225.947 596.648 225.744 596.563C225.499 596.467 225.254 596.355 225.008 596.227C224.763 596.099 224.539 595.944 224.336 595.763C224.134 595.571 223.968 595.352 223.84 595.107C223.712 594.851 223.648 594.558 223.648 594.227C223.648 593.864 223.718 593.528 223.856 593.219C224.006 592.91 224.214 592.648 224.48 592.435C224.747 592.222 225.067 592.056 225.44 591.939C225.814 591.811 226.23 591.747 226.688 591.747C227.296 591.747 227.83 591.854 228.288 592.067C228.747 592.27 229.147 592.499 229.488 592.755L228.432 594.163C228.144 593.95 227.862 593.784 227.584 593.667C227.307 593.55 227.03 593.491 226.752 593.491C226.155 593.491 225.856 593.699 225.856 594.115C225.856 594.243 225.899 594.355 225.984 594.451C226.07 594.536 226.182 594.616 226.32 594.691C226.47 594.766 226.635 594.84 226.816 594.915C227.008 594.979 227.206 595.048 227.408 595.123C227.664 595.219 227.915 595.331 228.16 595.459C228.416 595.576 228.646 595.726 228.848 595.907C229.062 596.088 229.232 596.312 229.36 596.579C229.488 596.835 229.552 597.144 229.552 597.507C229.552 597.87 229.483 598.206 229.344 598.515C229.206 598.824 228.998 599.096 228.72 599.331C228.443 599.555 228.102 599.736 227.696 599.875C227.291 600.003 226.822 600.067 226.288 600.067Z"
            fill="#EEEEEE"
          />
          <mask id="path-7-inside-1_1_2486" fill="white">
            <path d="M102.942 577H318.942V612.75H102.942V577Z" />
          </mask>
          <path
            d="M318.942 611.75H102.942V613.75H318.942V611.75Z"
            fill="#474E62"
            mask="url(#path-7-inside-1_1_2486)"
          />
          <path
            fillRule="evenodd"
            clipRule="evenodd"
            d="M182.109 628.96C177.33 628.96 172.561 629.393 168.9 630.279C167.069 630.723 165.519 631.267 164.337 632.002C163.235 632.687 162.385 633.655 162.273 634.842C162.259 634.976 162.251 635.021 162.242 635.106V645.505V645.583V655.998V656.06V666.536C162.242 667.85 163.156 668.89 164.337 669.625C165.519 670.36 167.069 670.919 168.9 671.363C172.561 672.25 177.33 672.667 182.109 672.667C186.887 672.667 191.656 672.25 195.317 671.363C197.148 670.919 198.714 670.36 199.896 669.625C201.077 668.89 201.975 667.85 201.975 666.536V635.107C201.975 635.033 201.966 634.969 201.96 634.905C201.871 633.689 201.015 632.701 199.896 632.003C198.714 631.267 197.148 630.724 195.317 630.28C191.656 629.393 186.887 628.961 182.109 628.961L182.109 628.96ZM182.109 630.947C186.767 630.947 191.434 631.377 194.851 632.204C196.558 632.617 197.957 633.145 198.84 633.694C199.666 634.21 199.955 634.646 199.988 635.029V635.106C199.988 635.508 199.723 635.954 198.84 636.503C197.957 637.052 196.558 637.58 194.851 637.993C191.434 638.82 186.767 639.25 182.109 639.25C177.45 639.25 172.783 638.82 169.366 637.993C167.659 637.58 166.26 637.052 165.377 636.503C164.494 635.954 164.229 635.508 164.229 635.106C164.229 634.705 164.494 634.243 165.377 633.694C166.26 633.145 167.659 632.617 169.366 632.204C172.783 631.377 177.45 630.947 182.109 630.947V630.947ZM164.229 638.118C164.265 638.141 164.3 638.172 164.337 638.195C165.519 638.93 167.069 639.474 168.9 639.918C172.561 640.805 177.33 641.237 182.109 641.237C186.887 641.237 191.656 640.805 195.317 639.918C197.148 639.474 198.714 638.93 199.896 638.195C199.929 638.176 199.958 638.154 199.989 638.133V645.583C199.989 645.985 199.723 646.431 198.84 646.98C197.958 647.529 196.559 648.057 194.851 648.47C191.435 649.296 186.767 649.727 182.109 649.727C177.451 649.727 172.783 649.296 169.366 648.47C167.659 648.057 166.26 647.529 165.378 646.98C164.495 646.431 164.229 645.985 164.229 645.583V645.474L164.229 638.118ZM164.229 648.594C164.265 648.617 164.3 648.649 164.337 648.672C165.519 649.407 167.069 649.966 168.9 650.41C172.561 651.297 177.33 651.714 182.109 651.714C186.887 651.714 191.656 651.297 195.317 650.41C197.148 649.966 198.714 649.407 199.896 648.672C199.929 648.652 199.958 648.629 199.989 648.61V656.06C199.989 656.461 199.723 656.923 198.84 657.472C197.958 658.021 196.559 658.533 194.851 658.947C191.435 659.773 186.767 660.204 182.109 660.204C177.451 660.204 172.783 659.773 169.366 658.947C167.659 658.533 166.26 658.021 165.378 657.472C164.495 656.923 164.229 656.461 164.229 656.06V655.967L164.229 648.594ZM164.229 659.071C164.265 659.096 164.298 659.125 164.337 659.148C165.519 659.884 167.069 660.443 168.9 660.887C172.561 661.773 177.33 662.191 182.109 662.191C186.887 662.191 191.656 661.773 195.317 660.887C197.148 660.443 198.714 659.884 199.896 659.148C199.929 659.129 199.956 659.108 199.989 659.086V666.536C199.989 666.938 199.723 667.4 198.84 667.949C197.958 668.498 196.559 669.01 194.851 669.423C191.435 670.25 186.767 670.68 182.109 670.68C177.451 670.68 172.783 670.25 169.366 669.423C167.659 669.01 166.26 668.498 165.378 667.949C164.495 667.4 164.229 666.938 164.229 666.536L164.229 659.071Z"
            fill="#EEEEEE"
          />
          <path
            fillRule="evenodd"
            clipRule="evenodd"
            d="M239.775 628.96C234.997 628.96 230.228 629.393 226.567 630.279C224.735 630.723 223.185 631.267 222.004 632.002C220.902 632.687 220.052 633.655 219.939 634.842C219.926 634.976 219.918 635.021 219.908 635.106V645.505V645.583V655.998V656.06V666.536C219.908 667.85 220.822 668.89 222.004 669.625C223.185 670.36 224.735 670.919 226.567 671.363C230.228 672.25 234.997 672.667 239.775 672.667C244.554 672.667 249.323 672.25 252.984 671.363C254.815 670.919 256.381 670.36 257.562 669.625C258.744 668.89 259.642 667.85 259.642 666.536V635.107C259.642 635.033 259.632 634.969 259.627 634.905C259.537 633.689 258.682 632.701 257.562 632.003C256.381 631.267 254.815 630.724 252.984 630.28C249.323 629.393 244.554 628.961 239.775 628.961L239.775 628.96ZM239.775 630.947C244.433 630.947 249.101 631.377 252.518 632.204C254.225 632.617 255.624 633.145 256.507 633.694C257.333 634.21 257.622 634.646 257.655 635.029V635.106C257.655 635.508 257.389 635.954 256.507 636.503C255.624 637.052 254.225 637.58 252.518 637.993C249.101 638.82 244.433 639.25 239.775 639.25C235.117 639.25 230.449 638.82 227.033 637.993C225.325 637.58 223.927 637.052 223.044 636.503C222.161 635.954 221.895 635.508 221.895 635.106C221.895 634.705 222.161 634.243 223.044 633.694C223.927 633.145 225.325 632.617 227.033 632.204C230.449 631.377 235.117 630.947 239.775 630.947V630.947ZM221.895 638.118C221.932 638.141 221.967 638.172 222.004 638.195C223.185 638.93 224.736 639.474 226.567 639.918C230.228 640.805 234.997 641.237 239.775 641.237C244.554 641.237 249.323 640.805 252.984 639.918C254.815 639.474 256.381 638.93 257.562 638.195C257.595 638.176 257.624 638.154 257.655 638.133V645.583C257.655 645.985 257.39 646.431 256.507 646.98C255.624 647.529 254.225 648.057 252.518 648.47C249.102 649.296 244.434 649.727 239.776 649.727C235.117 649.727 230.45 649.296 227.033 648.47C225.326 648.057 223.927 647.529 223.044 646.98C222.162 646.431 221.896 645.985 221.896 645.583V645.474L221.895 638.118ZM221.895 648.594C221.932 648.617 221.967 648.649 222.004 648.672C223.185 649.407 224.736 649.966 226.567 650.41C230.228 651.297 234.997 651.714 239.775 651.714C244.554 651.714 249.323 651.297 252.984 650.41C254.815 649.966 256.381 649.407 257.562 648.672C257.595 648.652 257.624 648.629 257.655 648.61V656.06C257.655 656.461 257.39 656.923 256.507 657.472C255.624 658.021 254.225 658.533 252.518 658.947C249.102 659.773 244.434 660.204 239.776 660.204C235.117 660.204 230.45 659.773 227.033 658.947C225.326 658.533 223.927 658.021 223.044 657.472C222.162 656.923 221.896 656.461 221.896 656.06V655.967L221.895 648.594ZM221.895 659.071C221.932 659.096 221.965 659.125 222.004 659.148C223.185 659.884 224.736 660.443 226.567 660.887C230.228 661.773 234.997 662.191 239.775 662.191C244.554 662.191 249.323 661.773 252.984 660.887C254.815 660.443 256.381 659.884 257.562 659.148C257.595 659.129 257.623 659.108 257.655 659.086V666.536C257.655 666.938 257.39 667.4 256.507 667.949C255.624 668.498 254.225 669.01 252.518 669.423C249.102 670.25 244.434 670.68 239.776 670.68C235.117 670.68 230.45 670.25 227.033 669.423C225.326 669.01 223.927 668.498 223.044 667.949C222.162 667.4 221.896 666.938 221.896 666.536L221.895 659.071Z"
            fill="#EEEEEE"
          />
        </g>
        <rect
          x="103.442"
          y="577.5"
          width="215"
          height="117"
          rx="3.5"
          stroke="#474E62"
          fill="rgba(0, 0, 0, 0.1)"
          data-tooltip-id={isType<keyof typeof tooltips>("fides")}
          onMouseEnter={onRectMouseEnter}
          onMouseLeave={onRectMouseLeave}
        />
        <g clipPath="url(#clip1_1_2486)">
          <rect
            x="579.057"
            y="577"
            width="216"
            height="118"
            rx="4"
            fill={tooltipContentId === "cookieHouse" ? "#101230" : "#0A0B1E"}
          />
          <path
            d="M643.155 600.067C642.494 600.067 641.87 599.955 641.283 599.731C640.697 599.496 640.179 599.155 639.731 598.707C639.294 598.259 638.947 597.704 638.691 597.043C638.435 596.371 638.307 595.598 638.307 594.723C638.307 593.859 638.441 593.091 638.707 592.419C638.974 591.736 639.331 591.16 639.779 590.691C640.227 590.222 640.75 589.864 641.347 589.619C641.945 589.374 642.574 589.251 643.235 589.251C643.907 589.251 644.51 589.39 645.043 589.667C645.577 589.934 646.019 590.248 646.371 590.611L645.123 592.115C644.857 591.87 644.574 591.672 644.275 591.523C643.987 591.363 643.657 591.283 643.283 591.283C642.931 591.283 642.595 591.363 642.275 591.523C641.966 591.672 641.694 591.891 641.459 592.179C641.235 592.467 641.054 592.819 640.915 593.235C640.787 593.651 640.723 594.12 640.723 594.643C640.723 595.72 640.953 596.558 641.411 597.155C641.87 597.742 642.483 598.035 643.251 598.035C643.678 598.035 644.057 597.944 644.387 597.763C644.729 597.571 645.027 597.336 645.283 597.059L646.531 598.531C645.657 599.555 644.531 600.067 643.155 600.067ZM651.524 600.067C651.023 600.067 650.537 599.976 650.068 599.795C649.599 599.603 649.183 599.331 648.82 598.979C648.468 598.627 648.185 598.195 647.972 597.683C647.759 597.16 647.652 596.568 647.652 595.907C647.652 595.246 647.759 594.659 647.972 594.147C648.185 593.624 648.468 593.187 648.82 592.835C649.183 592.483 649.599 592.216 650.068 592.035C650.537 591.843 651.023 591.747 651.524 591.747C652.025 591.747 652.505 591.843 652.964 592.035C653.433 592.216 653.844 592.483 654.196 592.835C654.559 593.187 654.847 593.624 655.06 594.147C655.273 594.659 655.38 595.246 655.38 595.907C655.38 596.568 655.273 597.16 655.06 597.683C654.847 598.195 654.559 598.627 654.196 598.979C653.844 599.331 653.433 599.603 652.964 599.795C652.505 599.976 652.025 600.067 651.524 600.067ZM651.524 598.163C652.004 598.163 652.367 597.96 652.612 597.555C652.857 597.15 652.98 596.6 652.98 595.907C652.98 595.214 652.857 594.664 652.612 594.259C652.367 593.854 652.004 593.651 651.524 593.651C651.033 593.651 650.665 593.854 650.42 594.259C650.185 594.664 650.068 595.214 650.068 595.907C650.068 596.6 650.185 597.15 650.42 597.555C650.665 597.96 651.033 598.163 651.524 598.163ZM660.591 600.067C660.09 600.067 659.604 599.976 659.135 599.795C658.666 599.603 658.25 599.331 657.887 598.979C657.535 598.627 657.252 598.195 657.039 597.683C656.826 597.16 656.719 596.568 656.719 595.907C656.719 595.246 656.826 594.659 657.039 594.147C657.252 593.624 657.535 593.187 657.887 592.835C658.25 592.483 658.666 592.216 659.135 592.035C659.604 591.843 660.09 591.747 660.591 591.747C661.092 591.747 661.572 591.843 662.031 592.035C662.5 592.216 662.911 592.483 663.263 592.835C663.626 593.187 663.914 593.624 664.127 594.147C664.34 594.659 664.447 595.246 664.447 595.907C664.447 596.568 664.34 597.16 664.127 597.683C663.914 598.195 663.626 598.627 663.263 598.979C662.911 599.331 662.5 599.603 662.031 599.795C661.572 599.976 661.092 600.067 660.591 600.067ZM660.591 598.163C661.071 598.163 661.434 597.96 661.679 597.555C661.924 597.15 662.047 596.6 662.047 595.907C662.047 595.214 661.924 594.664 661.679 594.259C661.434 593.854 661.071 593.651 660.591 593.651C660.1 593.651 659.732 593.854 659.487 594.259C659.252 594.664 659.135 595.214 659.135 595.907C659.135 596.6 659.252 597.15 659.487 597.555C659.732 597.96 660.1 598.163 660.591 598.163ZM666.25 599.875V588.659H668.538V595.091H668.602L671.114 591.939H673.674L670.89 595.203L673.882 599.875H671.338L669.546 596.787L668.538 597.923V599.875H666.25ZM675.208 599.875V591.939H677.56V599.875H675.208ZM676.376 590.771C675.981 590.771 675.656 590.659 675.4 590.435C675.144 590.2 675.016 589.902 675.016 589.539C675.016 589.176 675.144 588.883 675.4 588.659C675.656 588.435 675.981 588.323 676.376 588.323C676.781 588.323 677.106 588.435 677.352 588.659C677.608 588.883 677.736 589.176 677.736 589.539C677.736 589.902 677.608 590.2 677.352 590.435C677.106 590.659 676.781 590.771 676.376 590.771ZM683.373 600.067C682.808 600.067 682.28 599.976 681.789 599.795C681.299 599.603 680.872 599.331 680.509 598.979C680.147 598.616 679.864 598.179 679.661 597.667C679.459 597.155 679.357 596.568 679.357 595.907C679.357 595.267 679.464 594.691 679.677 594.179C679.891 593.656 680.168 593.219 680.509 592.867C680.861 592.504 681.261 592.227 681.709 592.035C682.157 591.843 682.621 591.747 683.101 591.747C683.667 591.747 684.157 591.843 684.573 592.035C685 592.227 685.352 592.494 685.629 592.835C685.917 593.176 686.131 593.582 686.269 594.051C686.408 594.51 686.477 595.011 686.477 595.555C686.477 595.768 686.467 595.971 686.445 596.163C686.424 596.355 686.403 596.499 686.381 596.595H681.629C681.736 597.171 681.971 597.598 682.333 597.875C682.707 598.142 683.16 598.275 683.693 598.275C684.259 598.275 684.829 598.099 685.405 597.747L686.189 599.171C685.784 599.448 685.331 599.667 684.829 599.827C684.339 599.987 683.853 600.067 683.373 600.067ZM681.613 595.043H684.477C684.477 594.595 684.376 594.232 684.173 593.955C683.971 593.678 683.629 593.539 683.149 593.539C682.776 593.539 682.445 593.662 682.157 593.907C681.88 594.152 681.699 594.531 681.613 595.043ZM691.882 599.875V589.443H694.234V593.459H697.834V589.443H700.202V599.875H697.834V595.523H694.234V599.875H691.882ZM706.071 600.067C705.57 600.067 705.084 599.976 704.615 599.795C704.146 599.603 703.73 599.331 703.367 598.979C703.015 598.627 702.732 598.195 702.519 597.683C702.306 597.16 702.199 596.568 702.199 595.907C702.199 595.246 702.306 594.659 702.519 594.147C702.732 593.624 703.015 593.187 703.367 592.835C703.73 592.483 704.146 592.216 704.615 592.035C705.084 591.843 705.57 591.747 706.071 591.747C706.572 591.747 707.052 591.843 707.511 592.035C707.98 592.216 708.391 592.483 708.743 592.835C709.106 593.187 709.394 593.624 709.607 594.147C709.82 594.659 709.927 595.246 709.927 595.907C709.927 596.568 709.82 597.16 709.607 597.683C709.394 598.195 709.106 598.627 708.743 598.979C708.391 599.331 707.98 599.603 707.511 599.795C707.052 599.976 706.572 600.067 706.071 600.067ZM706.071 598.163C706.551 598.163 706.914 597.96 707.159 597.555C707.404 597.15 707.527 596.6 707.527 595.907C707.527 595.214 707.404 594.664 707.159 594.259C706.914 593.854 706.551 593.651 706.071 593.651C705.58 593.651 705.212 593.854 704.967 594.259C704.732 594.664 704.615 595.214 704.615 595.907C704.615 596.6 704.732 597.15 704.967 597.555C705.212 597.96 705.58 598.163 706.071 598.163ZM714.114 600.067C713.25 600.067 712.621 599.784 712.226 599.219C711.842 598.654 711.65 597.87 711.65 596.867V591.939H714.002V596.563C714.002 597.139 714.082 597.534 714.242 597.747C714.402 597.96 714.653 598.067 714.994 598.067C715.293 598.067 715.543 597.998 715.746 597.859C715.949 597.72 716.167 597.496 716.402 597.187V591.939H718.754V599.875H716.834L716.658 598.771H716.61C716.269 599.176 715.901 599.496 715.506 599.731C715.122 599.955 714.658 600.067 714.114 600.067ZM723.352 600.067C722.829 600.067 722.29 599.966 721.736 599.763C721.192 599.56 720.717 599.294 720.312 598.963L721.368 597.491C721.73 597.768 722.077 597.976 722.408 598.115C722.738 598.254 723.074 598.323 723.416 598.323C723.768 598.323 724.024 598.264 724.184 598.147C724.344 598.03 724.424 597.864 724.424 597.651C724.424 597.523 724.376 597.411 724.28 597.315C724.194 597.208 724.072 597.112 723.912 597.027C723.762 596.942 723.592 596.867 723.4 596.803C723.208 596.728 723.01 596.648 722.808 596.563C722.562 596.467 722.317 596.355 722.072 596.227C721.826 596.099 721.602 595.944 721.4 595.763C721.197 595.571 721.032 595.352 720.904 595.107C720.776 594.851 720.712 594.558 720.712 594.227C720.712 593.864 720.781 593.528 720.92 593.219C721.069 592.91 721.277 592.648 721.544 592.435C721.81 592.222 722.13 592.056 722.504 591.939C722.877 591.811 723.293 591.747 723.752 591.747C724.36 591.747 724.893 591.854 725.352 592.067C725.81 592.27 726.21 592.499 726.552 592.755L725.496 594.163C725.208 593.95 724.925 593.784 724.648 593.667C724.37 593.55 724.093 593.491 723.816 593.491C723.218 593.491 722.92 593.699 722.92 594.115C722.92 594.243 722.962 594.355 723.048 594.451C723.133 594.536 723.245 594.616 723.384 594.691C723.533 594.766 723.698 594.84 723.88 594.915C724.072 594.979 724.269 595.048 724.472 595.123C724.728 595.219 724.978 595.331 725.224 595.459C725.48 595.576 725.709 595.726 725.912 595.907C726.125 596.088 726.296 596.312 726.424 596.579C726.552 596.835 726.616 597.144 726.616 597.507C726.616 597.87 726.546 598.206 726.408 598.515C726.269 598.824 726.061 599.096 725.784 599.331C725.506 599.555 725.165 599.736 724.76 599.875C724.354 600.003 723.885 600.067 723.352 600.067ZM731.854 600.067C731.288 600.067 730.76 599.976 730.27 599.795C729.779 599.603 729.352 599.331 728.99 598.979C728.627 598.616 728.344 598.179 728.142 597.667C727.939 597.155 727.838 596.568 727.838 595.907C727.838 595.267 727.944 594.691 728.158 594.179C728.371 593.656 728.648 593.219 728.99 592.867C729.342 592.504 729.742 592.227 730.19 592.035C730.638 591.843 731.102 591.747 731.582 591.747C732.147 591.747 732.638 591.843 733.054 592.035C733.48 592.227 733.832 592.494 734.11 592.835C734.398 593.176 734.611 593.582 734.75 594.051C734.888 594.51 734.958 595.011 734.958 595.555C734.958 595.768 734.947 595.971 734.926 596.163C734.904 596.355 734.883 596.499 734.862 596.595H730.11C730.216 597.171 730.451 597.598 730.814 597.875C731.187 598.142 731.64 598.275 732.174 598.275C732.739 598.275 733.31 598.099 733.886 597.747L734.67 599.171C734.264 599.448 733.811 599.667 733.31 599.827C732.819 599.987 732.334 600.067 731.854 600.067ZM730.094 595.043H732.958C732.958 594.595 732.856 594.232 732.654 593.955C732.451 593.678 732.11 593.539 731.63 593.539C731.256 593.539 730.926 593.662 730.638 593.907C730.36 594.152 730.179 594.531 730.094 595.043Z"
            fill="#EEEEEE"
          />
          <mask id="path-14-inside-2_1_2486" fill="white">
            <path d="M579.057 577H795.057V612.75H579.057V577Z" />
          </mask>
          <path
            d="M795.057 611.75H579.057V613.75H795.057V611.75Z"
            fill="#474E62"
            mask="url(#path-14-inside-2_1_2486)"
          />
          <path
            fillRule="evenodd"
            clipRule="evenodd"
            d="M658.223 628.96C653.445 628.96 648.676 629.393 645.015 630.279C643.183 630.723 641.633 631.267 640.452 632.002C639.35 632.687 638.5 633.655 638.388 634.842C638.374 634.976 638.366 635.021 638.357 635.106V645.505V645.583V655.998V656.06V666.536C638.357 667.85 639.27 668.89 640.452 669.625C641.633 670.36 643.184 670.919 645.015 671.363C648.676 672.25 653.445 672.667 658.223 672.667C663.002 672.667 667.771 672.25 671.432 671.363C673.263 670.919 674.829 670.36 676.01 669.625C677.192 668.89 678.09 667.85 678.09 666.536V635.107C678.09 635.033 678.08 634.969 678.075 634.905C677.985 633.689 677.13 632.701 676.01 632.003C674.829 631.267 673.263 630.724 671.432 630.28C667.771 629.393 663.002 628.961 658.223 628.961L658.223 628.96ZM658.223 630.947C662.881 630.947 667.549 631.377 670.966 632.204C672.673 632.617 674.072 633.145 674.955 633.694C675.781 634.21 676.07 634.646 676.103 635.029V635.106C676.103 635.508 675.837 635.954 674.955 636.503C674.072 637.052 672.673 637.58 670.966 637.993C667.549 638.82 662.882 639.25 658.223 639.25C653.565 639.25 648.897 638.82 645.481 637.993C643.774 637.58 642.375 637.052 641.492 636.503C640.609 635.954 640.343 635.508 640.343 635.106C640.343 634.705 640.609 634.243 641.492 633.694C642.375 633.145 643.774 632.617 645.481 632.204C648.897 631.377 653.565 630.947 658.223 630.947V630.947ZM640.343 638.118C640.38 638.141 640.415 638.172 640.452 638.195C641.633 638.93 643.184 639.474 645.015 639.918C648.676 640.805 653.445 641.237 658.223 641.237C663.002 641.237 667.771 640.805 671.432 639.918C673.263 639.474 674.829 638.93 676.01 638.195C676.043 638.176 676.073 638.154 676.104 638.133V645.583C676.104 645.985 675.838 646.431 674.955 646.98C674.072 647.529 672.673 648.057 670.966 648.47C667.55 649.296 662.882 649.727 658.224 649.727C653.565 649.727 648.898 649.296 645.481 648.47C643.774 648.057 642.375 647.529 641.492 646.98C640.61 646.431 640.344 645.985 640.344 645.583V645.474L640.343 638.118ZM640.343 648.594C640.38 648.617 640.415 648.649 640.452 648.672C641.633 649.407 643.184 649.966 645.015 650.41C648.676 651.297 653.445 651.714 658.223 651.714C663.002 651.714 667.771 651.297 671.432 650.41C673.263 649.966 674.829 649.407 676.01 648.672C676.043 648.652 676.073 648.629 676.104 648.61V656.06C676.104 656.461 675.838 656.923 674.955 657.472C674.072 658.021 672.673 658.533 670.966 658.947C667.55 659.773 662.882 660.204 658.224 660.204C653.565 660.204 648.898 659.773 645.481 658.947C643.774 658.533 642.375 658.021 641.492 657.472C640.61 656.923 640.344 656.461 640.344 656.06V655.967L640.343 648.594ZM640.343 659.071C640.38 659.096 640.413 659.125 640.452 659.148C641.633 659.884 643.184 660.443 645.015 660.887C648.676 661.773 653.445 662.191 658.223 662.191C663.002 662.191 667.771 661.773 671.432 660.887C673.263 660.443 674.829 659.884 676.01 659.148C676.043 659.129 676.071 659.108 676.104 659.086V666.536C676.104 666.938 675.838 667.4 674.955 667.949C674.072 668.498 672.673 669.01 670.966 669.423C667.55 670.25 662.882 670.68 658.224 670.68C653.565 670.68 648.898 670.25 645.481 669.423C643.774 669.01 642.375 668.498 641.492 667.949C640.61 667.4 640.344 666.938 640.344 666.536L640.343 659.071Z"
            fill="#EEEEEE"
          />
          <path
            fillRule="evenodd"
            clipRule="evenodd"
            d="M715.89 628.96C711.111 628.96 706.343 629.393 702.682 630.279C700.85 630.723 699.3 631.267 698.118 632.002C697.016 632.687 696.167 633.655 696.054 634.842C696.041 634.976 696.033 635.021 696.023 635.106V645.505V645.583V655.998V656.06V666.536C696.023 667.85 696.937 668.89 698.119 669.625C699.3 670.36 700.85 670.919 702.682 671.363C706.343 672.25 711.112 672.667 715.89 672.667C720.668 672.667 725.437 672.25 729.098 671.363C730.93 670.919 732.495 670.36 733.677 669.625C734.859 668.89 735.757 667.85 735.757 666.536V635.107C735.757 635.033 735.747 634.969 735.741 634.905C735.652 633.689 734.796 632.701 733.677 632.003C732.496 631.267 730.93 630.724 729.098 630.28C725.437 629.393 720.668 628.961 715.89 628.961L715.89 628.96ZM715.89 630.947C720.548 630.947 725.216 631.377 728.632 632.204C730.34 632.617 731.739 633.145 732.621 633.694C733.448 634.21 733.737 634.646 733.77 635.029V635.106C733.77 635.508 733.504 635.954 732.621 636.503C731.739 637.052 730.34 637.58 728.632 637.993C725.216 638.82 720.548 639.25 715.89 639.25C711.232 639.25 706.564 638.82 703.147 637.993C701.44 637.58 700.041 637.052 699.159 636.503C698.276 635.954 698.01 635.508 698.01 635.106C698.01 634.705 698.276 634.243 699.159 633.694C700.041 633.145 701.44 632.617 703.147 632.204C706.564 631.377 711.232 630.947 715.89 630.947V630.947ZM698.01 638.118C698.047 638.141 698.082 638.172 698.119 638.195C699.3 638.93 700.85 639.474 702.682 639.918C706.343 640.805 711.112 641.237 715.89 641.237C720.669 641.237 725.438 640.805 729.098 639.918C730.93 639.474 732.496 638.93 733.677 638.195C733.71 638.176 733.739 638.154 733.77 638.133V645.583C733.77 645.985 733.504 646.431 732.622 646.98C731.739 647.529 730.34 648.057 728.633 648.47C725.216 649.296 720.549 649.727 715.89 649.727C711.232 649.727 706.564 649.296 703.148 648.47C701.441 648.057 700.042 647.529 699.159 646.98C698.276 646.431 698.011 645.985 698.011 645.583V645.474L698.01 638.118ZM698.01 648.594C698.047 648.617 698.082 648.649 698.119 648.672C699.3 649.407 700.85 649.966 702.682 650.41C706.343 651.297 711.112 651.714 715.89 651.714C720.669 651.714 725.438 651.297 729.098 650.41C730.93 649.966 732.496 649.407 733.677 648.672C733.71 648.652 733.739 648.629 733.77 648.61V656.06C733.77 656.461 733.504 656.923 732.622 657.472C731.739 658.021 730.34 658.533 728.633 658.947C725.216 659.773 720.549 660.204 715.89 660.204C711.232 660.204 706.564 659.773 703.148 658.947C701.441 658.533 700.042 658.021 699.159 657.472C698.276 656.923 698.011 656.461 698.011 656.06V655.967L698.01 648.594ZM698.01 659.071C698.047 659.096 698.08 659.125 698.119 659.148C699.3 659.884 700.85 660.443 702.682 660.887C706.343 661.773 711.112 662.191 715.89 662.191C720.669 662.191 725.438 661.773 729.098 660.887C730.93 660.443 732.496 659.884 733.677 659.148C733.71 659.129 733.737 659.108 733.77 659.086V666.536C733.77 666.938 733.504 667.4 732.622 667.949C731.739 668.498 730.34 669.01 728.633 669.423C725.216 670.25 720.549 670.68 715.89 670.68C711.232 670.68 706.564 670.25 703.148 669.423C701.441 669.01 700.042 668.498 699.159 667.949C698.276 667.4 698.011 666.938 698.011 666.536L698.01 659.071Z"
            fill="#EEEEEE"
          />
        </g>
        <rect
          x="579.557"
          y="577.5"
          width="215"
          height="117"
          rx="3.5"
          stroke="#474E62"
          data-tooltip-id={isType<keyof typeof tooltips>("cookieHouse")}
          onMouseEnter={onRectMouseEnter}
          onMouseLeave={onRectMouseLeave}
        />
        <g clipPath="url(#clip2_1_2486)">
          <rect
            x="102.942"
            y="308"
            width="216"
            height="118"
            rx="4"
            fill={tooltipContentId === "fidesAdminUi" ? "#101230" : "#0A0B1E"}
          />
          <path
            d="M157.997 330.875V320.443H164.573V322.427H160.349V324.843H163.965V326.827H160.349V330.875H157.997ZM166.387 330.875V322.939H168.739V330.875H166.387ZM167.555 321.771C167.161 321.771 166.835 321.659 166.579 321.435C166.323 321.2 166.195 320.902 166.195 320.539C166.195 320.176 166.323 319.883 166.579 319.659C166.835 319.435 167.161 319.323 167.555 319.323C167.961 319.323 168.286 319.435 168.531 319.659C168.787 319.883 168.915 320.176 168.915 320.539C168.915 320.902 168.787 321.2 168.531 321.435C168.286 321.659 167.961 321.771 167.555 321.771ZM173.833 331.067C173.343 331.067 172.895 330.971 172.489 330.779C172.095 330.587 171.753 330.315 171.465 329.963C171.188 329.6 170.969 329.163 170.809 328.651C170.66 328.139 170.585 327.558 170.585 326.907C170.585 326.256 170.676 325.675 170.857 325.163C171.049 324.651 171.295 324.219 171.593 323.867C171.903 323.504 172.255 323.227 172.649 323.035C173.055 322.843 173.465 322.747 173.881 322.747C174.329 322.747 174.697 322.822 174.985 322.971C175.273 323.12 175.556 323.323 175.833 323.579L175.737 322.363V319.659H178.089V330.875H176.169L176.009 330.091H175.945C175.668 330.368 175.343 330.603 174.969 330.795C174.596 330.976 174.217 331.067 173.833 331.067ZM174.441 329.147C174.697 329.147 174.927 329.094 175.129 328.987C175.343 328.88 175.545 328.694 175.737 328.427V325.179C175.524 324.987 175.305 324.854 175.081 324.779C174.857 324.704 174.639 324.667 174.425 324.667C174.052 324.667 173.721 324.848 173.433 325.211C173.145 325.563 173.001 326.118 173.001 326.875C173.001 327.664 173.124 328.24 173.369 328.603C173.625 328.966 173.983 329.147 174.441 329.147ZM183.917 331.067C183.352 331.067 182.824 330.976 182.333 330.795C181.842 330.603 181.416 330.331 181.053 329.979C180.69 329.616 180.408 329.179 180.205 328.667C180.002 328.155 179.901 327.568 179.901 326.907C179.901 326.267 180.008 325.691 180.221 325.179C180.434 324.656 180.712 324.219 181.053 323.867C181.405 323.504 181.805 323.227 182.253 323.035C182.701 322.843 183.165 322.747 183.645 322.747C184.21 322.747 184.701 322.843 185.117 323.035C185.544 323.227 185.896 323.494 186.173 323.835C186.461 324.176 186.674 324.582 186.813 325.051C186.952 325.51 187.021 326.011 187.021 326.555C187.021 326.768 187.01 326.971 186.989 327.163C186.968 327.355 186.946 327.499 186.925 327.595H182.173C182.28 328.171 182.514 328.598 182.877 328.875C183.25 329.142 183.704 329.275 184.237 329.275C184.802 329.275 185.373 329.099 185.949 328.747L186.733 330.171C186.328 330.448 185.874 330.667 185.373 330.827C184.882 330.987 184.397 331.067 183.917 331.067ZM182.157 326.043H185.021C185.021 325.595 184.92 325.232 184.717 324.955C184.514 324.678 184.173 324.539 183.693 324.539C183.32 324.539 182.989 324.662 182.701 324.907C182.424 325.152 182.242 325.531 182.157 326.043ZM191.174 331.067C190.652 331.067 190.113 330.966 189.558 330.763C189.014 330.56 188.54 330.294 188.134 329.963L189.19 328.491C189.553 328.768 189.9 328.976 190.23 329.115C190.561 329.254 190.897 329.323 191.238 329.323C191.59 329.323 191.846 329.264 192.006 329.147C192.166 329.03 192.246 328.864 192.246 328.651C192.246 328.523 192.198 328.411 192.102 328.315C192.017 328.208 191.894 328.112 191.734 328.027C191.585 327.942 191.414 327.867 191.222 327.803C191.03 327.728 190.833 327.648 190.63 327.563C190.385 327.467 190.14 327.355 189.894 327.227C189.649 327.099 189.425 326.944 189.222 326.763C189.02 326.571 188.854 326.352 188.726 326.107C188.598 325.851 188.534 325.558 188.534 325.227C188.534 324.864 188.604 324.528 188.742 324.219C188.892 323.91 189.1 323.648 189.366 323.435C189.633 323.222 189.953 323.056 190.326 322.939C190.7 322.811 191.116 322.747 191.574 322.747C192.182 322.747 192.716 322.854 193.174 323.067C193.633 323.27 194.033 323.499 194.374 323.755L193.318 325.163C193.03 324.95 192.748 324.784 192.47 324.667C192.193 324.55 191.916 324.491 191.638 324.491C191.041 324.491 190.742 324.699 190.742 325.115C190.742 325.243 190.785 325.355 190.87 325.451C190.956 325.536 191.068 325.616 191.206 325.691C191.356 325.766 191.521 325.84 191.702 325.915C191.894 325.979 192.092 326.048 192.294 326.123C192.55 326.219 192.801 326.331 193.046 326.459C193.302 326.576 193.532 326.726 193.734 326.907C193.948 327.088 194.118 327.312 194.246 327.579C194.374 327.835 194.438 328.144 194.438 328.507C194.438 328.87 194.369 329.206 194.23 329.515C194.092 329.824 193.884 330.096 193.606 330.331C193.329 330.555 192.988 330.736 192.582 330.875C192.177 331.003 191.708 331.067 191.174 331.067ZM202.159 325.595L201.903 326.555H204.127L203.887 325.595C203.738 325.072 203.594 324.518 203.455 323.931C203.317 323.344 203.178 322.779 203.039 322.235H202.975C202.847 322.79 202.714 323.36 202.575 323.947C202.447 324.523 202.309 325.072 202.159 325.595ZM198.383 330.875L201.647 320.443H204.479L207.743 330.875H205.247L204.607 328.395H201.423L200.783 330.875H198.383ZM211.715 331.067C211.224 331.067 210.776 330.971 210.371 330.779C209.976 330.587 209.635 330.315 209.347 329.963C209.07 329.6 208.851 329.163 208.691 328.651C208.542 328.139 208.467 327.558 208.467 326.907C208.467 326.256 208.558 325.675 208.739 325.163C208.931 324.651 209.176 324.219 209.475 323.867C209.784 323.504 210.136 323.227 210.531 323.035C210.936 322.843 211.347 322.747 211.763 322.747C212.211 322.747 212.579 322.822 212.867 322.971C213.155 323.12 213.438 323.323 213.715 323.579L213.619 322.363V319.659H215.971V330.875H214.051L213.891 330.091H213.827C213.55 330.368 213.224 330.603 212.851 330.795C212.478 330.976 212.099 331.067 211.715 331.067ZM212.323 329.147C212.579 329.147 212.808 329.094 213.011 328.987C213.224 328.88 213.427 328.694 213.619 328.427V325.179C213.406 324.987 213.187 324.854 212.963 324.779C212.739 324.704 212.52 324.667 212.307 324.667C211.934 324.667 211.603 324.848 211.315 325.211C211.027 325.563 210.883 326.118 210.883 326.875C210.883 327.664 211.006 328.24 211.251 328.603C211.507 328.966 211.864 329.147 212.323 329.147ZM218.247 330.875V322.939H220.167L220.327 323.963H220.391C220.722 323.632 221.074 323.35 221.447 323.115C221.82 322.87 222.268 322.747 222.791 322.747C223.356 322.747 223.81 322.864 224.151 323.099C224.503 323.323 224.78 323.648 224.983 324.075C225.335 323.712 225.703 323.403 226.087 323.147C226.482 322.88 226.946 322.747 227.479 322.747C228.332 322.747 228.956 323.035 229.351 323.611C229.756 324.176 229.959 324.955 229.959 325.947V330.875H227.607V326.251C227.607 325.675 227.527 325.28 227.367 325.067C227.218 324.854 226.972 324.747 226.631 324.747C226.236 324.747 225.783 325.003 225.271 325.515V330.875H222.919V326.251C222.919 325.675 222.839 325.28 222.679 325.067C222.53 324.854 222.284 324.747 221.943 324.747C221.538 324.747 221.09 325.003 220.599 325.515V330.875H218.247ZM232.158 330.875V322.939H234.51V330.875H232.158ZM233.326 321.771C232.931 321.771 232.606 321.659 232.35 321.435C232.094 321.2 231.966 320.902 231.966 320.539C231.966 320.176 232.094 319.883 232.35 319.659C232.606 319.435 232.931 319.323 233.326 319.323C233.731 319.323 234.056 319.435 234.302 319.659C234.558 319.883 234.686 320.176 234.686 320.539C234.686 320.902 234.558 321.2 234.302 321.435C234.056 321.659 233.731 321.771 233.326 321.771ZM236.772 330.875V322.939H238.692L238.852 323.947H238.916C239.257 323.627 239.63 323.35 240.036 323.115C240.441 322.87 240.916 322.747 241.46 322.747C242.324 322.747 242.948 323.03 243.332 323.595C243.726 324.16 243.924 324.944 243.924 325.947V330.875H241.572V326.251C241.572 325.675 241.492 325.28 241.332 325.067C241.182 324.854 240.937 324.747 240.596 324.747C240.297 324.747 240.041 324.816 239.828 324.955C239.614 325.083 239.38 325.27 239.124 325.515V330.875H236.772ZM253.819 331.067C252.464 331.067 251.43 330.667 250.715 329.867C250 329.067 249.643 327.792 249.643 326.043V320.443H252.011V326.283C252.011 327.307 252.166 328.022 252.475 328.427C252.784 328.832 253.232 329.035 253.819 329.035C254.406 329.035 254.859 328.832 255.179 328.427C255.499 328.022 255.659 327.307 255.659 326.283V320.443H257.931V326.043C257.931 327.792 257.579 329.067 256.875 329.867C256.182 330.667 255.163 331.067 253.819 331.067ZM260.54 330.875V320.443H262.892V330.875H260.54Z"
            fill="#EEEEEE"
          />
          <mask id="path-21-inside-3_1_2486" fill="white">
            <path d="M102.942 308H318.942V343.75H102.942V308Z" />
          </mask>
          <path
            d="M318.942 342.75H102.942V344.75H318.942V342.75Z"
            fill="#474E62"
            mask="url(#path-21-inside-3_1_2486)"
          />
          <circle cx="116.979" cy="325.875" r="4.03693" fill="#EC695E" />
          <circle cx="128.61" cy="325.875" r="4.03693" fill="#F4BD50" />
          <circle cx="140.241" cy="325.875" r="4.03693" fill="#61C454" />
          <path
            d="M210.943 357C224.739 357 235.942 368.203 235.942 382C235.942 395.563 225.116 406.602 211.643 406.972C211.41 406.996 211.181 406.999 210.942 406.999C210.703 406.999 210.474 406.999 210.242 406.972C196.769 406.602 185.942 395.564 185.942 382C185.942 368.203 197.146 357 210.942 357H210.943ZM211.805 358.805V369.069H220.21C219.765 367.708 219.267 366.429 218.701 365.297C216.805 361.509 214.364 359.226 211.805 358.805V358.805ZM210.081 358.805C207.521 359.226 205.08 361.509 203.184 365.297C202.619 366.429 202.12 367.708 201.676 369.069H210.081V358.805ZM216.546 359.425C217.954 360.721 219.2 362.465 220.237 364.543C220.917 365.903 221.51 367.439 222.015 369.069H230.312C227.137 364.324 222.25 360.832 216.546 359.424L216.546 359.425ZM205.339 359.425C199.635 360.832 194.749 364.324 191.573 369.069H199.871C200.376 367.439 200.968 365.904 201.649 364.543C202.686 362.466 203.932 360.721 205.339 359.425L205.339 359.425ZM231.363 370.793H222.527C223.335 373.928 223.783 377.424 223.847 381.138H234.192C234.054 377.4 233.057 373.878 231.363 370.793ZM220.75 370.793H211.806V381.138H222.124C222.056 377.4 221.578 373.881 220.75 370.793H220.75ZM210.082 370.793H201.138C200.309 373.881 199.831 377.4 199.764 381.138H210.082L210.082 370.793ZM199.359 370.793H190.523C188.83 373.878 187.833 377.4 187.695 381.138H198.039C198.103 377.424 198.551 373.928 199.359 370.793ZM234.192 382.862H223.847C223.783 386.576 223.335 390.075 222.527 393.207H231.363C233.06 390.119 234.057 386.607 234.192 382.862ZM222.123 382.862H211.805V393.207H220.749C221.577 390.126 222.055 386.597 222.123 382.862H222.123ZM210.081 382.862H199.763C199.83 386.597 200.308 390.126 201.137 393.207H210.081L210.081 382.862ZM198.039 382.862H187.694C187.829 386.607 188.826 390.119 190.523 393.207H199.359C198.551 390.075 198.103 386.576 198.039 382.862ZM230.339 394.931H222.015C221.51 396.557 220.917 398.069 220.237 399.43C219.19 401.528 217.917 403.296 216.492 404.602C222.23 403.198 227.157 399.702 230.339 394.931L230.339 394.931ZM220.21 394.931H211.805V405.194C214.364 404.77 216.805 402.463 218.701 398.675C219.267 397.544 219.765 396.288 220.21 394.931V394.931ZM210.081 394.931H201.676C202.12 396.288 202.619 397.544 203.184 398.675C205.08 402.464 207.521 404.77 210.081 405.195V394.931ZM199.871 394.931H191.546C194.729 399.702 199.655 403.198 205.393 404.602C203.968 403.296 202.695 401.528 201.648 399.43C200.968 398.07 200.375 396.554 199.87 394.931L199.871 394.931Z"
            fill="white"
          />
        </g>
        <rect
          x="103.442"
          y="308.5"
          width="215"
          height="117"
          rx="3.5"
          stroke="#474E62"
          data-tooltip-id={isType<keyof typeof tooltips>("fidesAdminUi")}
          onMouseEnter={onRectMouseEnter}
          onMouseLeave={onRectMouseLeave}
        />
        <g clipPath="url(#clip3_1_2486)">
          <rect
            x="703.057"
            y="308"
            width="216"
            height="118"
            rx="4"
            fill={tooltipContentId === "cookieHouseUi" ? "#101230" : "#0A0B1E"}
          />
          <path
            d="M757.539 331.067C756.878 331.067 756.254 330.955 755.667 330.731C755.081 330.496 754.563 330.155 754.115 329.707C753.678 329.259 753.331 328.704 753.075 328.043C752.819 327.371 752.691 326.598 752.691 325.723C752.691 324.859 752.825 324.091 753.091 323.419C753.358 322.736 753.715 322.16 754.163 321.691C754.611 321.222 755.134 320.864 755.731 320.619C756.329 320.374 756.958 320.251 757.619 320.251C758.291 320.251 758.894 320.39 759.427 320.667C759.961 320.934 760.403 321.248 760.755 321.611L759.507 323.115C759.241 322.87 758.958 322.672 758.659 322.523C758.371 322.363 758.041 322.283 757.667 322.283C757.315 322.283 756.979 322.363 756.659 322.523C756.35 322.672 756.078 322.891 755.843 323.179C755.619 323.467 755.438 323.819 755.299 324.235C755.171 324.651 755.107 325.12 755.107 325.643C755.107 326.72 755.337 327.558 755.795 328.155C756.254 328.742 756.867 329.035 757.635 329.035C758.062 329.035 758.441 328.944 758.771 328.763C759.113 328.571 759.411 328.336 759.667 328.059L760.915 329.531C760.041 330.555 758.915 331.067 757.539 331.067ZM765.908 331.067C765.406 331.067 764.921 330.976 764.452 330.795C763.982 330.603 763.566 330.331 763.204 329.979C762.852 329.627 762.569 329.195 762.356 328.683C762.142 328.16 762.036 327.568 762.036 326.907C762.036 326.246 762.142 325.659 762.356 325.147C762.569 324.624 762.852 324.187 763.204 323.835C763.566 323.483 763.982 323.216 764.452 323.035C764.921 322.843 765.406 322.747 765.908 322.747C766.409 322.747 766.889 322.843 767.348 323.035C767.817 323.216 768.228 323.483 768.58 323.835C768.942 324.187 769.23 324.624 769.444 325.147C769.657 325.659 769.764 326.246 769.764 326.907C769.764 327.568 769.657 328.16 769.444 328.683C769.23 329.195 768.942 329.627 768.58 329.979C768.228 330.331 767.817 330.603 767.348 330.795C766.889 330.976 766.409 331.067 765.908 331.067ZM765.908 329.163C766.388 329.163 766.75 328.96 766.996 328.555C767.241 328.15 767.364 327.6 767.364 326.907C767.364 326.214 767.241 325.664 766.996 325.259C766.75 324.854 766.388 324.651 765.908 324.651C765.417 324.651 765.049 324.854 764.804 325.259C764.569 325.664 764.452 326.214 764.452 326.907C764.452 327.6 764.569 328.15 764.804 328.555C765.049 328.96 765.417 329.163 765.908 329.163ZM774.975 331.067C774.473 331.067 773.988 330.976 773.519 330.795C773.049 330.603 772.633 330.331 772.271 329.979C771.919 329.627 771.636 329.195 771.423 328.683C771.209 328.16 771.103 327.568 771.103 326.907C771.103 326.246 771.209 325.659 771.423 325.147C771.636 324.624 771.919 324.187 772.271 323.835C772.633 323.483 773.049 323.216 773.519 323.035C773.988 322.843 774.473 322.747 774.975 322.747C775.476 322.747 775.956 322.843 776.415 323.035C776.884 323.216 777.295 323.483 777.647 323.835C778.009 324.187 778.297 324.624 778.511 325.147C778.724 325.659 778.831 326.246 778.831 326.907C778.831 327.568 778.724 328.16 778.511 328.683C778.297 329.195 778.009 329.627 777.647 329.979C777.295 330.331 776.884 330.603 776.415 330.795C775.956 330.976 775.476 331.067 774.975 331.067ZM774.975 329.163C775.455 329.163 775.817 328.96 776.063 328.555C776.308 328.15 776.431 327.6 776.431 326.907C776.431 326.214 776.308 325.664 776.063 325.259C775.817 324.854 775.455 324.651 774.975 324.651C774.484 324.651 774.116 324.854 773.871 325.259C773.636 325.664 773.519 326.214 773.519 326.907C773.519 327.6 773.636 328.15 773.871 328.555C774.116 328.96 774.484 329.163 774.975 329.163ZM780.634 330.875V319.659H782.922V326.091H782.986L785.498 322.939H788.058L785.274 326.203L788.266 330.875H785.722L783.93 327.787L782.922 328.923V330.875H780.634ZM789.591 330.875V322.939H791.943V330.875H789.591ZM790.759 321.771C790.365 321.771 790.039 321.659 789.783 321.435C789.527 321.2 789.399 320.902 789.399 320.539C789.399 320.176 789.527 319.883 789.783 319.659C790.039 319.435 790.365 319.323 790.759 319.323C791.165 319.323 791.49 319.435 791.735 319.659C791.991 319.883 792.119 320.176 792.119 320.539C792.119 320.902 791.991 321.2 791.735 321.435C791.49 321.659 791.165 321.771 790.759 321.771ZM797.757 331.067C797.192 331.067 796.664 330.976 796.173 330.795C795.683 330.603 795.256 330.331 794.893 329.979C794.531 329.616 794.248 329.179 794.045 328.667C793.843 328.155 793.741 327.568 793.741 326.907C793.741 326.267 793.848 325.691 794.061 325.179C794.275 324.656 794.552 324.219 794.893 323.867C795.245 323.504 795.645 323.227 796.093 323.035C796.541 322.843 797.005 322.747 797.485 322.747C798.051 322.747 798.541 322.843 798.957 323.035C799.384 323.227 799.736 323.494 800.013 323.835C800.301 324.176 800.515 324.582 800.653 325.051C800.792 325.51 800.861 326.011 800.861 326.555C800.861 326.768 800.851 326.971 800.829 327.163C800.808 327.355 800.787 327.499 800.765 327.595H796.013C796.12 328.171 796.355 328.598 796.717 328.875C797.091 329.142 797.544 329.275 798.077 329.275C798.643 329.275 799.213 329.099 799.789 328.747L800.573 330.171C800.168 330.448 799.715 330.667 799.213 330.827C798.723 330.987 798.237 331.067 797.757 331.067ZM795.997 326.043H798.861C798.861 325.595 798.76 325.232 798.557 324.955C798.355 324.678 798.013 324.539 797.533 324.539C797.16 324.539 796.829 324.662 796.541 324.907C796.264 325.152 796.083 325.531 795.997 326.043ZM806.266 330.875V320.443H808.618V324.459H812.218V320.443H814.586V330.875H812.218V326.523H808.618V330.875H806.266ZM820.455 331.067C819.954 331.067 819.468 330.976 818.999 330.795C818.53 330.603 818.114 330.331 817.751 329.979C817.399 329.627 817.116 329.195 816.903 328.683C816.69 328.16 816.583 327.568 816.583 326.907C816.583 326.246 816.69 325.659 816.903 325.147C817.116 324.624 817.399 324.187 817.751 323.835C818.114 323.483 818.53 323.216 818.999 323.035C819.468 322.843 819.954 322.747 820.455 322.747C820.956 322.747 821.436 322.843 821.895 323.035C822.364 323.216 822.775 323.483 823.127 323.835C823.49 324.187 823.778 324.624 823.991 325.147C824.204 325.659 824.311 326.246 824.311 326.907C824.311 327.568 824.204 328.16 823.991 328.683C823.778 329.195 823.49 329.627 823.127 329.979C822.775 330.331 822.364 330.603 821.895 330.795C821.436 330.976 820.956 331.067 820.455 331.067ZM820.455 329.163C820.935 329.163 821.298 328.96 821.543 328.555C821.788 328.15 821.911 327.6 821.911 326.907C821.911 326.214 821.788 325.664 821.543 325.259C821.298 324.854 820.935 324.651 820.455 324.651C819.964 324.651 819.596 324.854 819.351 325.259C819.116 325.664 818.999 326.214 818.999 326.907C818.999 327.6 819.116 328.15 819.351 328.555C819.596 328.96 819.964 329.163 820.455 329.163ZM828.498 331.067C827.634 331.067 827.005 330.784 826.61 330.219C826.226 329.654 826.034 328.87 826.034 327.867V322.939H828.386V327.563C828.386 328.139 828.466 328.534 828.626 328.747C828.786 328.96 829.037 329.067 829.378 329.067C829.677 329.067 829.927 328.998 830.13 328.859C830.333 328.72 830.551 328.496 830.786 328.187V322.939H833.138V330.875H831.218L831.042 329.771H830.994C830.653 330.176 830.285 330.496 829.89 330.731C829.506 330.955 829.042 331.067 828.498 331.067ZM837.736 331.067C837.213 331.067 836.674 330.966 836.12 330.763C835.576 330.56 835.101 330.294 834.696 329.963L835.752 328.491C836.114 328.768 836.461 328.976 836.792 329.115C837.122 329.254 837.458 329.323 837.8 329.323C838.152 329.323 838.408 329.264 838.568 329.147C838.728 329.03 838.808 328.864 838.808 328.651C838.808 328.523 838.76 328.411 838.664 328.315C838.578 328.208 838.456 328.112 838.296 328.027C838.146 327.942 837.976 327.867 837.784 327.803C837.592 327.728 837.394 327.648 837.192 327.563C836.946 327.467 836.701 327.355 836.456 327.227C836.21 327.099 835.986 326.944 835.784 326.763C835.581 326.571 835.416 326.352 835.288 326.107C835.16 325.851 835.096 325.558 835.096 325.227C835.096 324.864 835.165 324.528 835.304 324.219C835.453 323.91 835.661 323.648 835.928 323.435C836.194 323.222 836.514 323.056 836.888 322.939C837.261 322.811 837.677 322.747 838.136 322.747C838.744 322.747 839.277 322.854 839.736 323.067C840.194 323.27 840.594 323.499 840.936 323.755L839.88 325.163C839.592 324.95 839.309 324.784 839.032 324.667C838.754 324.55 838.477 324.491 838.2 324.491C837.602 324.491 837.304 324.699 837.304 325.115C837.304 325.243 837.346 325.355 837.432 325.451C837.517 325.536 837.629 325.616 837.768 325.691C837.917 325.766 838.082 325.84 838.264 325.915C838.456 325.979 838.653 326.048 838.856 326.123C839.112 326.219 839.362 326.331 839.608 326.459C839.864 326.576 840.093 326.726 840.296 326.907C840.509 327.088 840.68 327.312 840.808 327.579C840.936 327.835 841 328.144 841 328.507C841 328.87 840.93 329.206 840.792 329.515C840.653 329.824 840.445 330.096 840.168 330.331C839.89 330.555 839.549 330.736 839.144 330.875C838.738 331.003 838.269 331.067 837.736 331.067ZM846.237 331.067C845.672 331.067 845.144 330.976 844.653 330.795C844.163 330.603 843.736 330.331 843.373 329.979C843.011 329.616 842.728 329.179 842.525 328.667C842.323 328.155 842.221 327.568 842.221 326.907C842.221 326.267 842.328 325.691 842.541 325.179C842.755 324.656 843.032 324.219 843.373 323.867C843.725 323.504 844.125 323.227 844.573 323.035C845.021 322.843 845.485 322.747 845.965 322.747C846.531 322.747 847.021 322.843 847.437 323.035C847.864 323.227 848.216 323.494 848.493 323.835C848.781 324.176 848.995 324.582 849.133 325.051C849.272 325.51 849.341 326.011 849.341 326.555C849.341 326.768 849.331 326.971 849.309 327.163C849.288 327.355 849.267 327.499 849.245 327.595H844.493C844.6 328.171 844.835 328.598 845.197 328.875C845.571 329.142 846.024 329.275 846.557 329.275C847.123 329.275 847.693 329.099 848.269 328.747L849.053 330.171C848.648 330.448 848.195 330.667 847.693 330.827C847.203 330.987 846.717 331.067 846.237 331.067ZM844.477 326.043H847.341C847.341 325.595 847.24 325.232 847.037 324.955C846.835 324.678 846.493 324.539 846.013 324.539C845.64 324.539 845.309 324.662 845.021 324.907C844.744 325.152 844.563 325.531 844.477 326.043ZM858.858 331.067C857.503 331.067 856.468 330.667 855.754 329.867C855.039 329.067 854.682 327.792 854.682 326.043V320.443H857.05V326.283C857.05 327.307 857.204 328.022 857.514 328.427C857.823 328.832 858.271 329.035 858.858 329.035C859.444 329.035 859.898 328.832 860.218 328.427C860.538 328.022 860.698 327.307 860.698 326.283V320.443H862.97V326.043C862.97 327.792 862.618 329.067 861.914 329.867C861.22 330.667 860.202 331.067 858.858 331.067ZM865.578 330.875V320.443H867.93V330.875H865.578Z"
            fill="#EEEEEE"
          />
          <mask id="path-30-inside-4_1_2486" fill="white">
            <path d="M703.057 308H919.057V343.75H703.057V308Z" />
          </mask>
          <path
            d="M919.057 342.75H703.057V344.75H919.057V342.75Z"
            fill="#474E62"
            mask="url(#path-30-inside-4_1_2486)"
          />
          <circle cx="717.094" cy="325.875" r="4.03693" fill="#EC695E" />
          <circle cx="728.725" cy="325.875" r="4.03693" fill="#F4BD50" />
          <circle cx="740.356" cy="325.875" r="4.03693" fill="#61C454" />
          <path
            d="M811.058 357C824.854 357 836.057 368.203 836.057 382C836.057 395.563 825.231 406.602 811.758 406.972C811.525 406.996 811.296 406.999 811.057 406.999C810.818 406.999 810.589 406.999 810.357 406.972C796.884 406.602 786.057 395.564 786.057 382C786.057 368.203 797.26 357 811.057 357H811.058ZM811.92 358.805V369.069H820.325C819.88 367.708 819.382 366.429 818.816 365.297C816.92 361.509 814.479 359.226 811.92 358.805V358.805ZM810.196 358.805C807.636 359.226 805.195 361.509 803.299 365.297C802.733 366.429 802.235 367.708 801.79 369.069H810.196V358.805ZM816.661 359.425C818.068 360.721 819.314 362.465 820.352 364.543C821.032 365.903 821.624 367.439 822.13 369.069H830.427C827.251 364.324 822.365 360.832 816.661 359.424L816.661 359.425ZM805.454 359.425C799.75 360.832 794.864 364.324 791.688 369.069H799.985C800.49 367.439 801.083 365.904 801.763 364.543C802.8 362.466 804.046 360.721 805.454 359.425L805.454 359.425ZM831.478 370.793H822.642C823.45 373.928 823.898 377.424 823.962 381.138H834.306C834.168 377.4 833.172 373.878 831.478 370.793ZM820.864 370.793H811.92V381.138H822.238C822.171 377.4 821.693 373.881 820.864 370.793H820.864ZM810.196 370.793H801.253C800.424 373.881 799.946 377.4 799.879 381.138H810.197L810.196 370.793ZM799.474 370.793H790.638C788.944 373.878 787.948 377.4 787.81 381.138H798.154C798.218 377.424 798.666 373.928 799.474 370.793ZM834.306 382.862H823.962C823.898 386.576 823.45 390.075 822.642 393.207H831.478C833.175 390.119 834.172 386.607 834.306 382.862ZM822.238 382.862H811.92V393.207H820.863C821.692 390.126 822.17 386.597 822.237 382.862H822.238ZM810.196 382.862H799.878C799.945 386.597 800.423 390.126 801.252 393.207H810.195L810.196 382.862ZM798.153 382.862H787.809C787.944 386.607 788.94 390.119 790.637 393.207H799.473C798.665 390.075 798.217 386.576 798.153 382.862ZM830.454 394.931H822.13C821.624 396.557 821.032 398.069 820.352 399.43C819.304 401.528 818.031 403.296 816.607 404.602C822.345 403.198 827.271 399.702 830.453 394.931L830.454 394.931ZM820.325 394.931H811.92V405.194C814.479 404.77 816.92 402.463 818.816 398.675C819.382 397.544 819.88 396.288 820.325 394.931V394.931ZM810.196 394.931H801.79C802.235 396.288 802.733 397.544 803.299 398.675C805.195 402.464 807.636 404.77 810.196 405.195V394.931ZM799.985 394.931H791.661C794.843 399.702 799.77 403.198 805.507 404.602C804.083 403.296 802.81 401.528 801.763 399.43C801.083 398.07 800.49 396.554 799.985 394.931L799.985 394.931Z"
            fill="white"
          />
        </g>
        <rect
          x="703.557"
          y="308.5"
          width="215"
          height="117"
          rx="3.5"
          stroke="#474E62"
          data-tooltip-id={isType<keyof typeof tooltips>("cookieHouseUi")}
          onMouseEnter={onRectMouseEnter}
          onMouseLeave={onRectMouseLeave}
        />
        <g clipPath="url(#clip4_1_2486)">
          <rect
            x="455.057"
            y="308"
            width="216"
            height="118"
            rx="4"
            fill={tooltipContentId === "privacyCenter" ? "#101230" : "#0A0B1E"}
          />
          <path
            d="M510.994 330.875V320.443H514.578C515.154 320.443 515.693 320.502 516.194 320.619C516.696 320.726 517.133 320.912 517.506 321.179C517.88 321.435 518.173 321.782 518.386 322.219C518.61 322.646 518.722 323.174 518.722 323.803C518.722 324.411 518.61 324.939 518.386 325.387C518.173 325.835 517.88 326.203 517.506 326.491C517.133 326.779 516.701 326.992 516.21 327.131C515.72 327.27 515.197 327.339 514.642 327.339H513.346V330.875H510.994ZM513.346 325.467H514.498C515.778 325.467 516.418 324.912 516.418 323.803C516.418 323.259 516.248 322.875 515.906 322.651C515.565 322.427 515.074 322.315 514.434 322.315H513.346V325.467ZM520.526 330.875V322.939H522.446L522.606 324.331H522.67C522.958 323.787 523.304 323.387 523.71 323.131C524.115 322.875 524.52 322.747 524.926 322.747C525.15 322.747 525.331 322.763 525.47 322.795C525.619 322.816 525.752 322.854 525.87 322.907L525.486 324.939C525.336 324.896 525.198 324.864 525.07 324.843C524.942 324.822 524.792 324.811 524.622 324.811C524.323 324.811 524.008 324.918 523.678 325.131C523.358 325.344 523.091 325.723 522.878 326.267V330.875H520.526ZM527.093 330.875V322.939H529.445V330.875H527.093ZM528.261 321.771C527.866 321.771 527.541 321.659 527.285 321.435C527.029 321.2 526.901 320.902 526.901 320.539C526.901 320.176 527.029 319.883 527.285 319.659C527.541 319.435 527.866 319.323 528.261 319.323C528.666 319.323 528.991 319.435 529.237 319.659C529.493 319.883 529.621 320.176 529.621 320.539C529.621 320.902 529.493 321.2 529.237 321.435C528.991 321.659 528.666 321.771 528.261 321.771ZM533.53 330.875L530.858 322.939H533.226L534.25 326.683C534.357 327.078 534.458 327.483 534.554 327.899C534.661 328.304 534.768 328.715 534.874 329.131H534.938C535.034 328.715 535.13 328.304 535.226 327.899C535.333 327.483 535.44 327.078 535.546 326.683L536.586 322.939H538.842L536.25 330.875H533.53ZM541.961 331.067C541.598 331.067 541.268 331.003 540.969 330.875C540.681 330.758 540.436 330.592 540.233 330.379C540.03 330.155 539.87 329.899 539.753 329.611C539.646 329.323 539.593 329.008 539.593 328.667C539.593 327.835 539.945 327.184 540.649 326.715C541.353 326.246 542.489 325.931 544.057 325.771C544.036 325.419 543.929 325.142 543.737 324.939C543.556 324.726 543.246 324.619 542.809 324.619C542.468 324.619 542.126 324.683 541.785 324.811C541.454 324.939 541.097 325.115 540.713 325.339L539.865 323.787C540.377 323.478 540.91 323.227 541.465 323.035C542.03 322.843 542.628 322.747 543.257 322.747C544.281 322.747 545.06 323.04 545.593 323.627C546.137 324.203 546.409 325.104 546.409 326.331V330.875H544.489L544.329 330.059H544.265C543.924 330.358 543.566 330.603 543.193 330.795C542.82 330.976 542.409 331.067 541.961 331.067ZM542.761 329.243C543.028 329.243 543.257 329.184 543.449 329.067C543.641 328.95 543.844 328.784 544.057 328.571V327.179C543.225 327.296 542.649 327.467 542.329 327.691C542.009 327.915 541.849 328.182 541.849 328.491C541.849 328.747 541.929 328.939 542.089 329.067C542.26 329.184 542.484 329.243 542.761 329.243ZM552.046 331.067C551.492 331.067 550.974 330.976 550.494 330.795C550.025 330.603 549.614 330.331 549.262 329.979C548.91 329.627 548.633 329.195 548.43 328.683C548.228 328.16 548.126 327.568 548.126 326.907C548.126 326.246 548.238 325.659 548.462 325.147C548.686 324.624 548.985 324.187 549.358 323.835C549.742 323.483 550.185 323.216 550.686 323.035C551.188 322.843 551.71 322.747 552.254 322.747C552.745 322.747 553.177 322.827 553.55 322.987C553.934 323.147 554.276 323.35 554.574 323.595L553.47 325.115C553.097 324.806 552.74 324.651 552.398 324.651C551.822 324.651 551.369 324.854 551.038 325.259C550.708 325.664 550.542 326.214 550.542 326.907C550.542 327.6 550.708 328.15 551.038 328.555C551.38 328.96 551.806 329.163 552.318 329.163C552.574 329.163 552.82 329.11 553.054 329.003C553.3 328.886 553.529 328.747 553.742 328.587L554.67 330.123C554.276 330.464 553.849 330.71 553.39 330.859C552.932 330.998 552.484 331.067 552.046 331.067ZM557.131 333.979C556.886 333.979 556.678 333.963 556.507 333.931C556.336 333.91 556.171 333.872 556.011 333.819L556.427 332.027C556.502 332.048 556.587 332.07 556.683 332.091C556.779 332.112 556.87 332.123 556.955 332.123C557.35 332.123 557.654 332.027 557.867 331.835C558.08 331.643 558.24 331.392 558.347 331.083L558.459 330.667L555.403 322.939H557.771L558.907 326.347C559.024 326.71 559.131 327.078 559.227 327.451C559.323 327.824 559.424 328.208 559.531 328.603H559.595C559.68 328.23 559.766 327.856 559.851 327.483C559.947 327.099 560.043 326.72 560.139 326.347L561.099 322.939H563.355L560.603 330.955C560.411 331.456 560.208 331.894 559.995 332.267C559.792 332.651 559.552 332.966 559.275 333.211C559.008 333.467 558.699 333.659 558.347 333.787C558.006 333.915 557.6 333.979 557.131 333.979ZM572.726 331.067C572.065 331.067 571.441 330.955 570.854 330.731C570.267 330.496 569.75 330.155 569.302 329.707C568.865 329.259 568.518 328.704 568.262 328.043C568.006 327.371 567.878 326.598 567.878 325.723C567.878 324.859 568.011 324.091 568.278 323.419C568.545 322.736 568.902 322.16 569.35 321.691C569.798 321.222 570.321 320.864 570.918 320.619C571.515 320.374 572.145 320.251 572.806 320.251C573.478 320.251 574.081 320.39 574.614 320.667C575.147 320.934 575.59 321.248 575.942 321.611L574.694 323.115C574.427 322.87 574.145 322.672 573.846 322.523C573.558 322.363 573.227 322.283 572.854 322.283C572.502 322.283 572.166 322.363 571.846 322.523C571.537 322.672 571.265 322.891 571.03 323.179C570.806 323.467 570.625 323.819 570.486 324.235C570.358 324.651 570.294 325.12 570.294 325.643C570.294 326.72 570.523 327.558 570.982 328.155C571.441 328.742 572.054 329.035 572.822 329.035C573.249 329.035 573.627 328.944 573.958 328.763C574.299 328.571 574.598 328.336 574.854 328.059L576.102 329.531C575.227 330.555 574.102 331.067 572.726 331.067ZM581.238 331.067C580.673 331.067 580.145 330.976 579.654 330.795C579.164 330.603 578.737 330.331 578.374 329.979C578.012 329.616 577.729 329.179 577.526 328.667C577.324 328.155 577.222 327.568 577.222 326.907C577.222 326.267 577.329 325.691 577.542 325.179C577.756 324.656 578.033 324.219 578.374 323.867C578.726 323.504 579.126 323.227 579.574 323.035C580.022 322.843 580.486 322.747 580.966 322.747C581.532 322.747 582.022 322.843 582.438 323.035C582.865 323.227 583.217 323.494 583.495 323.835C583.782 324.176 583.996 324.582 584.135 325.051C584.273 325.51 584.343 326.011 584.343 326.555C584.343 326.768 584.332 326.971 584.311 327.163C584.289 327.355 584.268 327.499 584.247 327.595H579.494C579.601 328.171 579.836 328.598 580.198 328.875C580.572 329.142 581.025 329.275 581.558 329.275C582.124 329.275 582.694 329.099 583.271 328.747L584.055 330.171C583.649 330.448 583.196 330.667 582.694 330.827C582.204 330.987 581.718 331.067 581.238 331.067ZM579.478 326.043H582.342C582.342 325.595 582.241 325.232 582.038 324.955C581.836 324.678 581.494 324.539 581.014 324.539C580.641 324.539 580.31 324.662 580.022 324.907C579.745 325.152 579.564 325.531 579.478 326.043ZM586.16 330.875V322.939H588.08L588.24 323.947H588.304C588.645 323.627 589.018 323.35 589.424 323.115C589.829 322.87 590.304 322.747 590.848 322.747C591.712 322.747 592.336 323.03 592.72 323.595C593.114 324.16 593.312 324.944 593.312 325.947V330.875H590.96V326.251C590.96 325.675 590.88 325.28 590.72 325.067C590.57 324.854 590.325 324.747 589.984 324.747C589.685 324.747 589.429 324.816 589.216 324.955C589.002 325.083 588.768 325.27 588.512 325.515V330.875H586.16ZM598.564 331.067C598.073 331.067 597.652 330.992 597.3 330.843C596.959 330.694 596.676 330.486 596.452 330.219C596.239 329.952 596.079 329.632 595.972 329.259C595.876 328.875 595.828 328.454 595.828 327.995V324.779H594.74V323.035L595.956 322.939L596.228 320.827H598.18V322.939H600.084V324.779H598.18V327.963C598.18 328.411 598.271 328.736 598.452 328.939C598.644 329.131 598.895 329.227 599.204 329.227C599.332 329.227 599.46 329.211 599.588 329.179C599.727 329.147 599.849 329.11 599.956 329.067L600.324 330.779C600.111 330.843 599.86 330.907 599.572 330.971C599.284 331.035 598.948 331.067 598.564 331.067ZM605.096 331.067C604.53 331.067 604.002 330.976 603.512 330.795C603.021 330.603 602.594 330.331 602.232 329.979C601.869 329.616 601.586 329.179 601.384 328.667C601.181 328.155 601.08 327.568 601.08 326.907C601.08 326.267 601.186 325.691 601.4 325.179C601.613 324.656 601.89 324.219 602.232 323.867C602.584 323.504 602.984 323.227 603.432 323.035C603.88 322.843 604.344 322.747 604.824 322.747C605.389 322.747 605.88 322.843 606.296 323.035C606.722 323.227 607.074 323.494 607.352 323.835C607.64 324.176 607.853 324.582 607.992 325.051C608.13 325.51 608.2 326.011 608.2 326.555C608.2 326.768 608.189 326.971 608.168 327.163C608.146 327.355 608.125 327.499 608.104 327.595H603.352C603.458 328.171 603.693 328.598 604.056 328.875C604.429 329.142 604.882 329.275 605.416 329.275C605.981 329.275 606.552 329.099 607.128 328.747L607.912 330.171C607.506 330.448 607.053 330.667 606.552 330.827C606.061 330.987 605.576 331.067 605.096 331.067ZM603.336 326.043H606.2C606.2 325.595 606.098 325.232 605.896 324.955C605.693 324.678 605.352 324.539 604.872 324.539C604.498 324.539 604.168 324.662 603.88 324.907C603.602 325.152 603.421 325.531 603.336 326.043ZM610.017 330.875V322.939H611.937L612.097 324.331H612.161C612.449 323.787 612.796 323.387 613.201 323.131C613.606 322.875 614.012 322.747 614.417 322.747C614.641 322.747 614.822 322.763 614.961 322.795C615.11 322.816 615.244 322.854 615.361 322.907L614.977 324.939C614.828 324.896 614.689 324.864 614.561 324.843C614.433 324.822 614.284 324.811 614.113 324.811C613.814 324.811 613.5 324.918 613.169 325.131C612.849 325.344 612.582 325.723 612.369 326.267V330.875H610.017Z"
            fill="#EEEEEE"
          />
          <mask id="path-39-inside-5_1_2486" fill="white">
            <path d="M455.057 308H671.057V343.75H455.057V308Z" />
          </mask>
          <path
            d="M671.057 342.75H455.057V344.75H671.057V342.75Z"
            fill="#474E62"
            mask="url(#path-39-inside-5_1_2486)"
          />
          <circle cx="469.094" cy="325.875" r="4.03693" fill="#EC695E" />
          <circle cx="480.725" cy="325.875" r="4.03693" fill="#F4BD50" />
          <circle cx="492.356" cy="325.875" r="4.03693" fill="#61C454" />
          <path
            d="M563.058 357C576.854 357 588.057 368.203 588.057 382C588.057 395.563 577.231 406.602 563.758 406.972C563.525 406.996 563.296 406.999 563.057 406.999C562.818 406.999 562.589 406.999 562.357 406.972C548.884 406.602 538.057 395.564 538.057 382C538.057 368.203 549.26 357 563.057 357H563.058ZM563.92 358.805V369.069H572.325C571.88 367.708 571.382 366.429 570.816 365.297C568.92 361.509 566.479 359.226 563.92 358.805V358.805ZM562.196 358.805C559.636 359.226 557.195 361.509 555.299 365.297C554.733 366.429 554.235 367.708 553.79 369.069H562.196V358.805ZM568.661 359.425C570.068 360.721 571.314 362.465 572.352 364.543C573.032 365.903 573.624 367.439 574.13 369.069H582.427C579.251 364.324 574.365 360.832 568.661 359.424L568.661 359.425ZM557.454 359.425C551.75 360.832 546.864 364.324 543.688 369.069H551.985C552.49 367.439 553.083 365.904 553.763 364.543C554.8 362.466 556.046 360.721 557.454 359.425L557.454 359.425ZM583.478 370.793H574.642C575.45 373.928 575.898 377.424 575.962 381.138H586.306C586.168 377.4 585.172 373.878 583.478 370.793ZM572.864 370.793H563.92V381.138H574.238C574.171 377.4 573.693 373.881 572.864 370.793H572.864ZM562.196 370.793H553.253C552.424 373.881 551.946 377.4 551.879 381.138H562.197L562.196 370.793ZM551.474 370.793H542.638C540.944 373.878 539.948 377.4 539.81 381.138H550.154C550.218 377.424 550.666 373.928 551.474 370.793ZM586.306 382.862H575.962C575.898 386.576 575.45 390.075 574.642 393.207H583.478C585.175 390.119 586.172 386.607 586.306 382.862ZM574.238 382.862H563.92V393.207H572.863C573.692 390.126 574.17 386.597 574.237 382.862H574.238ZM562.196 382.862H551.878C551.945 386.597 552.423 390.126 553.252 393.207H562.195L562.196 382.862ZM550.153 382.862H539.809C539.944 386.607 540.94 390.119 542.637 393.207H551.473C550.665 390.075 550.217 386.576 550.153 382.862ZM582.454 394.931H574.13C573.624 396.557 573.032 398.069 572.352 399.43C571.304 401.528 570.031 403.296 568.607 404.602C574.345 403.198 579.271 399.702 582.453 394.931L582.454 394.931ZM572.325 394.931H563.92V405.194C566.479 404.77 568.92 402.463 570.816 398.675C571.382 397.544 571.88 396.288 572.325 394.931V394.931ZM562.196 394.931H553.79C554.235 396.288 554.733 397.544 555.299 398.675C557.195 402.464 559.636 404.77 562.196 405.195V394.931ZM551.985 394.931H543.661C546.843 399.702 551.77 403.198 557.507 404.602C556.083 403.296 554.81 401.528 553.763 399.43C553.083 398.07 552.49 396.554 551.985 394.931L551.985 394.931Z"
            fill="white"
          />
        </g>
        <rect
          x="455.557"
          y="308.5"
          width="215"
          height="117"
          rx="3.5"
          stroke="#474E62"
          data-tooltip-id={isType<keyof typeof tooltips>("privacyCenter")}
          onMouseEnter={onRectMouseEnter}
          onMouseLeave={onRectMouseLeave}
        />

        <path
          d="M210.942 428.25L210.942 571.875"
          stroke="white"
          strokeDasharray="4 4"
        />
        <path
          d="M615.557 428.25L615.557 571.875"
          stroke="white"
          strokeDasharray="4 4"
        />
        <path
          d="M758.057 428.25L758.057 571.875"
          stroke="white"
          strokeDasharray="4 4"
        />
        <path
          d="M211.942 699C211.942 698.448 211.495 698 210.942 698C210.39 698 209.942 698.448 209.942 699H211.942ZM720.33 689.647C720.883 689.647 721.273 688.97 720.997 688.492L716.557 680.801C716.281 680.323 715.5 680.323 715.223 680.801L710.783 688.492C710.507 688.97 710.898 689.647 711.45 689.647H720.33ZM209.942 699V744H211.942V699H209.942ZM216.942 751H709.89V749H216.942V751ZM716.89 744V688.647H714.89V744H716.89ZM709.89 751C713.756 751 716.89 747.866 716.89 744H714.89C714.89 746.761 712.652 749 709.89 749V751ZM209.942 744C209.942 747.866 213.076 751 216.942 751V749C214.181 749 211.942 746.761 211.942 744H209.942Z"
          fill="white"
        />
        <path
          d="M211.942 699C211.942 698.448 211.495 698 210.942 698C210.39 698 209.942 698.448 209.942 699H211.942ZM662.664 689.647C663.216 689.647 663.606 688.97 663.33 688.492L658.89 680.801C658.614 680.323 657.833 680.323 657.557 680.801L653.117 688.492C652.841 688.97 653.231 689.647 653.783 689.647H662.664ZM209.942 699V744H211.942V699H209.942ZM216.942 751H652.223V749H216.942V751ZM659.223 744V688.647H657.223V744H659.223ZM652.223 751C656.089 751 659.223 747.866 659.223 744H657.223C657.223 746.761 654.985 749 652.223 749V751ZM209.942 744C209.942 747.866 213.076 751 216.942 751V749C214.181 749 211.942 746.761 211.942 744H209.942Z"
          fill="white"
        />
        <path
          d="M451.057 368C451.609 368 452.057 367.552 452.057 367C452.057 366.448 451.609 366 451.057 366V368ZM332.942 631.56C332.942 631.008 332.266 630.617 331.788 630.893L324.097 635.333C323.619 635.609 323.619 636.391 324.097 636.667L331.788 641.107C332.266 641.383 332.942 640.992 332.942 640.44V631.56ZM451.057 366H411V368H451.057V366ZM386 391V612H388V391H386ZM363 635H331.942V637H363V635ZM386 612C386 624.703 375.702 635 363 635V637C376.807 637 388 625.807 388 612H386ZM411 366C397.193 366 386 377.193 386 391H388C388 378.297 398.297 368 411 368V366Z"
          fill="white"
        />

        <defs>
          <filter
            id="filter0_d_1_2486"
            x="492.42"
            y="414.566"
            width="20.0845"
            height="26.498"
            filterUnits="userSpaceOnUse"
            colorInterpolationFilters="sRGB"
          >
            <feFlood floodOpacity="0" result="BackgroundImageFix" />
            <feColorMatrix
              in="SourceAlpha"
              type="matrix"
              values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
              result="hardAlpha"
            />
            <feOffset dy="1" />
            <feGaussianBlur stdDeviation="1.5" />
            <feColorMatrix
              type="matrix"
              values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"
            />
            <feBlend
              mode="normal"
              in2="BackgroundImageFix"
              result="effect1_dropShadow_1_2486"
            />
            <feBlend
              mode="normal"
              in="SourceGraphic"
              in2="effect1_dropShadow_1_2486"
              result="shape"
            />
          </filter>
          <linearGradient
            id="paint0_linear_1_2486"
            x1="490.824"
            y1="83"
            x2="490.824"
            y2="115.858"
            gradientUnits="userSpaceOnUse"
          >
            <stop stopColor="white" />
            <stop offset="1" stopColor="#443C66" />
          </linearGradient>
          <clipPath id="clip0_1_2486">
            <rect
              x="102.942"
              y="577"
              width="216"
              height="118"
              rx="4"
              fill="white"
            />
          </clipPath>
          <clipPath id="clip1_1_2486">
            <rect
              x="579.057"
              y="577"
              width="216"
              height="118"
              rx="4"
              fill="white"
            />
          </clipPath>
          <clipPath id="clip2_1_2486">
            <rect
              x="102.942"
              y="308"
              width="216"
              height="118"
              rx="4"
              fill="white"
            />
          </clipPath>
          <clipPath id="clip3_1_2486">
            <rect
              x="703.057"
              y="308"
              width="216"
              height="118"
              rx="4"
              fill="white"
            />
          </clipPath>
          <clipPath id="clip4_1_2486">
            <rect
              x="455.057"
              y="308"
              width="216"
              height="118"
              rx="4"
              fill="white"
            />
          </clipPath>
          <clipPath id="clip5_1_2486">
            <rect
              width="20"
              height="27"
              fill="white"
              transform="translate(492.356 414.75)"
            />
          </clipPath>
        </defs>
      </svg>
    </div>
  );
};

export default WhatInTheBox;
